<div class="key-inspect-detail">
    <div class="title">
        <ion-icon (click)='close()' ios="ios-arrow-back" md="md-arrow-back"></ion-icon>
        <span>一键巡检</span>
    </div>
    <div class="top text-center key-inspect-detail-move">
        <img src="assets/imgs/gallery/SVG/00016.png" />
        <p class="result">巡检完成，共{{alarmData.AllRoomNum}}个房间，异常{{alarmData.RoomAbnormalNum}} 个；</p>
        <p class="describe-result">共{{alarmData.AllDevNum}}个设备，异常{{alarmData.DevAbnormalNum}}个</p>
    </div>
    <ion-scroll scroll-height-except="88" delegate-handle="modelScroll">
        <div class="rooms">
            <div ng-repeat="data in alarmData.Info track by $index">
                <!-- <div class="each-room" [ngClass]='{"noBorder":data.isOpen && data.devAbnormalInfo.length>0}' (click)="openRoom(data,$index)">
                    <div class='left-img'><img [src]="'asset/img/homeTab/facilityImgs/light/' + data.systemCode +'.png'" />
                    </div>
                    <div class="room-name">
                        <span>{{data.roomName}}</span>
                        <i class="con ion-chevron-down" [ngClass]="{'ion-chevron-down':!data.isOpen,'ion-chevron-up':data.isOpen}" *ngIf="data.devAbnormalNum_room>0"></i>
                    </div>
                    <div class="right text-right">
                        <span class="line1" *ngIf="data.devAbnormalNum_room>0">设备 <label>{{data.devAllNum_room}},</label></span>
                        <span class="line2" *ngIf="data.devAbnormalNum_room>0">异常 <label>{{data.devAbnormalNum_room}}</label></span>
                        <img src="asset/img/gallery/SVG/17151.svg" *ngIf="data.devAbnormalNum_room>0" />
                        <img src="asset/img/gallery/SVG/17150.svg" *ngIf="data.devAbnormalNum_room==0" />
                    </div>
                </div> -->
                <!-- <div class="dev-list" ng-show="data.isOpen && data.devAbnormalInfo.length>0">
                    <div class='each-dev' ng-repeat="dev in data.devAbnormalInfo">
                        {{dev}}
                    </div>
                </div> -->
            </div>
        </div>
    </ion-scroll>
    <div class='check-report text-center' (click)="openFile()">查看巡检报表</div>
</div>